module.exports = {
  /**
   * 海报购买记录
   * @url user/kh/postOrderConfig 前端调用的url参数地址
   */
  main: async (event) => {
    let {
      data = {}, userInfo, util, originalParam
    } = event;
    let {
      uniID,
      pubFun,
      vk,
      db,
      _
    } = util;
    let res = {
      code: 0,
      msg: 'ok'
    };
    let dbName = "vk-bonus-relate"

    res.data = await vk.baseDao.add({
      dbName,
      dataJson: data
    }, event.util);
    return res;
  }
}